STEP 9: Let's now see what our sale price will be.

  • Click on . Drag a Variable Display into your program. Change the name to sale_display.
  • Change the variable inside so it displays sale_price.
  • Change the x-coordinate to 50.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)